package com.shanzmoo.db.stm.mapper;

import com.shanzmoo.db.stm.entity.StmSysMenuEntity;
import com.shanzmoo.db.stm.entity.query.StmSysMenuQuery;
import com.shanzmoo.db.stm.entity.vo.StmSysMenuVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 仓储用户系统菜单 Mapper 接口
 *
 * @author Gzhao 2021-03-10
 */
public interface StmSysMenuMapper extends BaseMapper<StmSysMenuEntity> {

    List<StmSysMenuVO> queryPageList(StmSysMenuQuery query);

    List<StmSysMenuEntity> getListByUserId(@Param("memberId") Integer memberId);
}
